package com.yxw.live_vod_facade.dto;


import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



@Data
//@EqualsAndHashCode(callSuper = true)
public class YxLiveApplyDTO   implements Serializable
{
    private static final long serialVersionUID = 81700646474206L;
    /**
    *主键id
    */
    @NotBlank(message = "主键id不可为空")
    @ApiModelProperty(value = "主键id")
    private String Id;
    /**
    *店铺本地Id
    */
    @ApiModelProperty(value = "店铺本地Id")
    private Long liveShopId;
    /**
    *店铺外部id
    */
    @ApiModelProperty(value = "店铺外部id")
    private String shopId;
    /**
    *播主Id
    */
    @ApiModelProperty(value = "播主Id")
    private String shopUserId;
    /**
    *颁发人Id
    */
    @ApiModelProperty(value = "颁发人Id")
    private String createUserId;
    /**
    *直播间名称
    */
    @ApiModelProperty(value = "直播间名称")
    private String liveHomeName;
    /**
    *直播间默认图片
    */
    @ApiModelProperty(value = "直播间默认图片")
    private String liveHomePicture;
    /**
    *直播间欢迎词
    */
    @ApiModelProperty(value = "直播间欢迎词")
    private String liveWelcomeWords;
    /**
    *直播间结束语
    */
    @ApiModelProperty(value = "直播间结束语")
    private String liveEndWords;
    /**
    *拉流鉴权类别(1需要鉴权,0不需要鉴权),收费直播必须开启鉴权
    */
    @ApiModelProperty(value = "拉流鉴权类别(1需要鉴权,0不需要鉴权),收费直播必须开启鉴权")
    private Integer liveAuthType;
    /**
    *直播开始时间
    */
    @ApiModelProperty(value = "直播开始时间")
    private java.util.Date liveStartTime;
    /**
    *直播结束时间
    */
    @ApiModelProperty(value = "直播结束时间")
    private java.util.Date liveEndTime;
    /**
    *是否存播(0不保存,1保存)
    */
    @ApiModelProperty(value = "是否存播(0不保存,1保存)")
    private Integer liveWillSave;
    /**
    *是否收费(0免费观看,1付费观看)
    */
    @ApiModelProperty(value = "是否收费(0免费观看,1付费观看)")
    private Integer liveFeesType;
    /**
    *直播票价(单位分)
    */
    @ApiModelProperty(value = "直播票价(单位分)")
    private Integer liveFees;
    /**
    *是否允许用户连麦(0不许,1允许)
    */
    @ApiModelProperty(value = "是否允许用户连麦(0不许,1允许)")
    private Integer liveUserPush;
    /**
    *审核状态(0审核中,1审核通过同意直播,2审核不通过)
    */
    @ApiModelProperty(value = "审核状态(0审核中,1审核通过同意直播,2审核不通过)")
    private Integer liveApplyState;
    /**
    *审核不通过的原因
    */
    @ApiModelProperty(value = "审核不通过的原因")
    private String notAllowDescription;
    /**
    *创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
    *更新时间
    */
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**
    *直播地址Id
    */
    @ApiModelProperty(value = "直播地址Id")
    private String liveAddressId;    
    /**
    *将DTO转换为ENTITY
    */
    /**
    *将DTO转换为ENTITY

    public YxLiveApplyEntity ConverToEntity()
    {
        YxLiveApplyEntity oYxLiveApplyEntity = new YxLiveApplyEntity ();
        oYxLiveApplyEntity.setId(Id) ;
        oYxLiveApplyEntity.setShopApplyId(shopApplyId) ;
        oYxLiveApplyEntity.setShopId(shopId) ;
        oYxLiveApplyEntity.setShopUserId(shopUserId) ;
        oYxLiveApplyEntity.setCreateUserId(createUserId) ;
        oYxLiveApplyEntity.setLiveAuthType(liveAuthType) ;
        oYxLiveApplyEntity.setLiveStartTime(liveStartTime) ;
        oYxLiveApplyEntity.setLiveEndTime(liveEndTime) ;
        oYxLiveApplyEntity.setLivePicture(livePicture) ;
        oYxLiveApplyEntity.setLiveDescription(liveDescription) ;
        oYxLiveApplyEntity.setLiveTag(liveTag) ;
        oYxLiveApplyEntity.setLiveWillSave(liveWillSave) ;
        oYxLiveApplyEntity.setLiveFeesType(liveFeesType) ;
        oYxLiveApplyEntity.setLiveFees(liveFees) ;
        oYxLiveApplyEntity.setLiveUserPush(liveUserPush) ;
        oYxLiveApplyEntity.setLiveApplyState(liveApplyState) ;
        oYxLiveApplyEntity.setNotAllowDescription(notAllowDescription) ;
        oYxLiveApplyEntity.setCreateTime(createTime) ;
        oYxLiveApplyEntity.setUpdateTime(updateTime) ;
        return oYxLiveApplyEntity;
    }
    */
}

